package cn.cxd.leetcode;

public class Leetcode32 {

    public static void main(String[] args) {
        Leetcode32 obj = new Leetcode32();
        int res = obj.longestValidParentheses(")()())");
        System.out.println(res);
    }

    public int longestValidParentheses(String s) {
        int res = 0;
        if (s.length() == 0 || s.length() == 1) {
            return res;
        }
        boolean[] arr = new boolean[s.length()];
        for (int i = 0; i < s.length(); i++) {
            
        }
        return res;
    }
}
